set PATH=%PATH%;d:\mingw\bin;d:\mingw\msys\1.0\bin;D:\mingw_project\mingw32\bin
g++ hw.cpp -Iinclude -m32 -o hw.exe libv8_base.a
#MinGW can't link with Visual C++ 2010 DLLs
g++ -Iinclude hello_world.cc -o hello_world out/x64.release/obj.target/tools/gyp/libv8_{base,snapshot}.a -lpthread
c:\Python26\Scripts\scons.py  arch=ia32 os=win32 toolchain=gcc library=shared I_know_I_should_build_with_GYP=yes
g++ -o lw.exe  -m32 -O2  -fno-rtti -fno-exceptions -DUSING_V8_SHARED hw.cpp  -L. -lv8 -lwinmm -lws2_32

use msvc
2010 express
undefined reference to vtable for xxx - GCC

python build\gyp_v8 -G msvs_version=2010

"c:\Program Files\Microsoft Visual Studio 10.0\vc\bin\vcvars32.bat"
svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin@66844 third_party/cygwin
svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@89111 third_party/python_26

scons I_know_I_should_build_with_GYP=yes  arch=ia32 env="PATH:%PATH%,INCLUDE:%INCLUDE%,LIB:%LIB%"  library=shared mode=release msvcrt=shared -j4 
#mksnapshot d8
2010